package com.library.bean;

/**
 * 用户类
 */
public class User {
	private int user_id; // 用户id
	private String user_name; // 用户名
	private String password; // 密码
	private int user_role; // 用户角色
	private int user_status; // 用户权限
	private String create_time;	// 创建时间
	
	
	
	@Override
	public String toString() {
		return user_id + "\t" + user_name + "\t" + password + "\t"
				+ user_role + "\t" + user_status + "\t" + create_time;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(int user_id, String user_name, String password, int user_role, int user_status, String create_time) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.password = password;
		this.user_role = user_role;
		this.user_status = user_status;
		this.create_time = create_time;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getUser_role() {
		return user_role;
	}
	public void setUser_role(int user_role) {
		this.user_role = user_role;
	}
	public int getUser_status() {
		return user_status;
	}
	public void setUser_status(int user_status) {
		this.user_status = user_status;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	

}
